
public class Login {
	String myPassword;
	String myUser;
	String myUserType;
	
	public Login() {
		myPassword = "";
		myUser = "";
		myUserType = "";
		
	}
	
	public void setUser(String user) {
		myUser = user;
	}
	
	public void setPassword(String password) {
		myPassword = password;
		
	}

	public String getUser(String user) {
		return myUser;
	}
	
	public String getPassword(String password) {
		return myPassword;
		
	}
	
	public void setUserType(String type) {
		myUserType = type;
	}
	
	public boolean isAnalyst() {
		return myUserType == "Analyst";
	}
	
	public boolean isAdmin() {
		return myUserType == "Admin";
		
	}
}
